from selenium.webdriver.common.by import By

from autoTest_ecshop.base_page.base import BasePage


class PaymentResultPage(BasePage):

    paymentInformation_loc = (By.XPATH,'/html/body/div[7]/div/h6')

    def PaymentResultPageAssertion(self):
        return self.element_text(self.paymentInformation_loc)